package com.mybatis.mapper;

import com.mybatis.entity.Student;

import java.util.HashMap;
import java.util.List;

public interface StudentMapper {

    List<Student> selectAllStudent();

    List<Student> selectAllStudent2();

    Student selectStudentByIdAndTeacherName(HashMap<String, Object> map);

    List<Student> selectStudentByTeacherId(String id);

    int insertStudent(Student student);

    Student selectStudentById(int id);

    Student selectStudentByIdAndName(HashMap<String, Object> map);

}
